<!--link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl.WWWROOT_BACKEND; ?>/css/form.css"/-->

<div class="wide form wd-form">

<?php $form = $this->beginWidget('GxActiveForm', array(
	'action' => Yii::app()->createUrl($this->route),
	'method' => 'get',
	'htmlOptions'=>array('class'=>'form-horizontal')
)); ?>

	<fieldset>
		<div class="control-group">
			<?php echo $form->label($model, 'id', array('class'=>'control-label')); ?>
			<div class="controls">
			<?php echo $form->textField($model, 'id'); ?>
			</div>
		</div>

		<div class="control-group">
			<?php echo $form->label($model, 'title', array('class'=>'control-label')); ?>
			<div class="controls">
			<?php echo $form->textField($model, 'title', array('maxlength' => 128)); ?>
			</div>
		</div>

		<div class="control-group">
			<?php echo $form->label($model, 'alias', array('class'=>'control-label')); ?>
			<div class="controls">
			<?php echo $form->textField($model, 'alias', array('maxlength' => 128)); ?>
			</div>
		</div>

		<div class="control-group">
			<?php echo $form->label($model, 'description', array('class'=>'control-label')); ?>
			<div class="controls">
			<?php echo $form->textArea($model, 'description'); ?>
		</div>

		<div class="control-group">
			<?php echo $form->label($model, 'content', array('class'=>'control-label')); ?>
			<div class="controls">
			<?php echo $form->textArea($model, 'content'); ?>
			</div>
		</div>

		<div class="control-group">
			<?php echo $form->label($model, 'priority', array('class'=>'control-label')); ?>
			<div class="controls">
			<?php echo $form->textField($model, 'priority'); ?>
		</div>

		<div class="control-group">
			<?php echo $form->label($model, 'created', array('class'=>'control-label')); ?>
			<div class="controls">
			<?php echo $form->textField($model, 'created'); ?>
			</div>
		</div>

		<div class="control-group">
			<?php echo $form->label($model, 'modified', array('class'=>'control-label')); ?>
			<div class="controls">
			<?php echo $form->textField($model, 'modified'); ?>
		</div>

		<div class="control-group">
			<?php echo $form->label($model, 'is_published', array('class'=>'control-label')); ?>
			<div class="controls">
			<?php echo $form->dropDownList($model, 'is_published', array('0' => Yii::t('app', 'No'), '1' => Yii::t('app', 'Yes')), array('prompt' => Yii::t('app', 'All'))); ?>
			</div>
		</div>

		<div class="form-actions">
			<?php echo GxHtml::submitButton(Yii::t('app', 'Search'), array('class'=>'btn btn-primary')); ?>
		</div>

	</fieldset>
<?php $this->endWidget(); ?>

</div><!-- search-form -->
